
<nav class="nav_fullwidth padding_obj">
	<ul class="objects_nav clearfix">
    <?php if(!empty($cat1)) {  $i=1;  foreach ($cat1 as $c1) : ?>
	<?php if($i<=9){?>
    <li class="list_nav"><a href="<?php echo base_url().$c1->alias.'-subjects'.$c1->id.'.html'; ?>" title="<?php  echo $c1->title; ?>"><?php  echo $c1->title; ?></a>
        <?php if(!empty($cat[$c1->id])) { ?>
            <ul class="drop_down">
                <?php foreach ($cat[$c1->id] as $c2) :  ?>
                <li><a href="<?php echo base_url().$c2->alias.'-subjects'.$c2->id.'.html'; ?>" title="<?php echo $c2->title; ?>"><?php echo $c2->title; ?></a></li>
                <?php endforeach; ?>
            </ul>
        <?php } ?>
    <?php } $i++; endforeach; } ?>
	</ul>
</nav>